home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / newconf / CONFIG / README < prev   
Encoding:
Text File  |  1992-08-27  |  2.0 KB  |  85 lines

  1.  
  2. About  config.mk.<port>:
  3.  
  4. Here is a sample config.mk.<port>.  
  5.  
  6. #
  7. # This is the name of the port.  The sample is from a sparc
  8. #
  9.  
  10. PORTNAME=    sparc
  11.  
  12. #
  13. # This is the name of the port subdirectory (containing all the port-specific
  14. # code).  It is in <tree>/src.  Users should not worry about this.
  15. #
  16.  
  17. PORTDIR=    port/sparc
  18.  
  19. #
  20. # This is a symbol for special linking directives so that "ld -A" (which
  21. # is used by the dynamic loader) resolves symbols properly.  Users should
  22. # not need to worry about this unless they are porting Postgres to a new
  23. # machine.  This symbol is used only when linking the Postgres main
  24. # program; general linking directives should go in LDFLAGS
  25. #
  26.  
  27. PORTLDFLAGS=-Bstatic
  28.  
  29. #
  30. # This symbol is passed to all compiles and links.  If the user wishes to
  31. # compile Postgres with the optimizer enabled or with debugging turned on,
  32. # the appropriate compiler directive should be put here.  Also, special
  33. # directives like enabling math coprocessors should go here.  For example,
  34. # use -f68881 on Sun 3's to enable the math coprocessor.
  35. #
  36. # (The default is to compile with the optimizer on and debugging state
  37. # assertions turned off)
  38. #
  39.  
  40.  
  41.  
  42. # To enable debugging, change this line to
  43. #
  44. # GCFLAGS=-g
  45. #
  46. # This symbol is passed to all links.  It is different from PORTLDFLAGS in
  47. # that it is used in ALL links.
  48. #
  49.  
  50. LDFLAGS=    $(GCFLAGS)
  51.  
  52. #
  53. # This symbol is passed to all compiles, but users should put any 
  54. # directives in GCFLAGS.
  55. #
  56.  
  57. CFLAGS=        $(GCFLAGS) \
  58.         -I$(SD)/lib/H \
  59.         -I$(SD)/lib/H/obsolete \
  60.         -I$(OD)/lib/H \
  61.         -I$(SD)/$(PORTDIR) \
  62.         -DNO_ALLOCA -DNO_DMINUS -DMATH_H_EXTERNS
  63.  
  64. #
  65. # This is the name of the file containing the list of the Postgres directories.
  66. # Users in general should not worry about this.
  67. #
  68.  
  69. DIRS=        ./dirs.mk
  70.  
  71. #
  72. # This symbol is the link libraries that Postgres will link to.  Users should
  73. # not worry about this unless they port to a new platform.
  74. #
  75.  
  76. LIBS=        -ll -lm -lc
  77.  
  78. #
  79. # This symbol is used for compiling the demo binaries.  They will be loaded
  80. # using the dynamic loader, so users should take note of these flags.
  81. #
  82.  
  83. DEMOCCOPTS=
  84.